package com.gy.cloud.cloudd;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HiController {

    @Autowired
    private SchedulingService schedulingService;

    @GetMapping("hi")
    public Object hi(){
        return schedulingService.sayHiFromClientOne("SERVICE-D");
    }

}
